<?php
$nodes = $this->menuList;
$length = sizeof($nodes);
$length_el = 100/$length;
?>
<style>
<!--
.submenuItem {
	width: <?=$length_el?>%;
	border: 0px solid red !important;
}
-->
</style>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<?php foreach ($nodes as $node):?>
			<td class="submenuItem"><a href="<?=$node[1]?>"><?=$node[0]?></a></td>
		<?php endforeach?>
	</tr>
</table>